package com.kamisama.utopia.ruleset;

import org.junit.After;
import org.junit.Before;
import org.kie.api.KieServices;
import org.kie.api.runtime.KieContainer;
import org.kie.api.runtime.KieSession;

public class CommandTestBase {
    KieContainer kieContainer;
    KieSession kieSession;

    @Before
    public void setUp() {
        kieContainer = KieServices.Factory.get().newKieClasspathContainer();
        kieSession = kieContainer.newKieSession("command-rules");
    }

    @After
    public void dispose(){
        kieSession.dispose();
    }

}
